<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="Windows-1252">
<title>text-decoration Attribute</title>
<style>@import url(coUA.css);</style>
</HEAD>

<BODY>
<h3><a name="cssattr_0001000301004000"></a>text-decoration Attribute </h3>
<p>
{ <b>text-decoration:</b> <b>none</b>| [ <b>underline</b> || <b>overline</b> || <b>line-through</b> || <b>blink</b> ]}<BR></p>
<p>
This property describes decorations that are added to the text of an element. </p>
<p>
This attribute is not inherited. </p>
<p>
<b>Settings</b></p>
<p>
If the element has no text (e.g. the IMG element in HTML) or is an empty element (e.g. &quot;&lt;EM&gt;&lt;/EM&gt;&quot;), this property has no effect. </p>
<p>
Formatters should treat unknown values as 'box', which should be rendered as a simple rectangle around the element. If the element is 'inline' and spans several lines, the UA is free to render several boxes, possibly with omitted edges. </p>
<p>
If more than one color is required, e.g. for the 'box', the other colors should be based on the text color. </p>
<p>
This property is not inherited, but children elements should match their ancestor. E.g., if an element is underlined, the line should span the child elements. The color of the underlining will remain the same even if descendant elements have different 'color' values. </p>
<p>
A:link, A:visited, A:active { text-decoration: underline }</p>
<p>
The example above would underline the text of all active links. </p>
</BODY>
</HTML>
